﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Windows;
using HandlingProcedures.DataBase;

namespace HandlingProcedures
{
    /// <summary>
    /// Interaction logic for App.xaml
    /// </summary>
    public partial class App : Application
    {
        private static IRepository dataBase = new DataBaseMySql();
        private static MainWindow mainWindow;

        public static IRepository DataBase
        {
            get { return App.dataBase; }
            set { App.dataBase = value; }
        }
        public static MainWindow MainWindow
        {
            get { return App.mainWindow; }
            set { App.mainWindow = value; }
        }
    }
}
